<?php
/**
* adminModel
*/
class adminModel
{
	public $_table = 'admin';
	function findOne_by_username($username)
	{
		$sql = 'SELECT * FROM ' . $this->_table . ' WHERE username="' . $username . '"';
		return DB::findOne($sql);
	}
}